package collections.map;

import java.util.Iterator;

public interface MyMap<K, V> {
	void clear();
	boolean containsKey(K key);
	boolean containsValue(V value);
	V get(K key);
	boolean isEmpty();
	V put(K key, V value);
	V remove(K key);
	int size();
	Iterator<Entry<K, V>> entryIterator();
	
	public interface Entry<K, V> {
		boolean equals(Object o);
		K getKey();
		V getValue();
		int hashCode();
		V setValue(V value);
	}
}
